<? 
	$title="User List"; 
	$pageid="4";
	$accessid=",a10,";

	
	
	require("required/dbconnect.php"); 
	require("required/function.php");
	require("required/header.php");
	
	//checkAccess("allow_gift_management",1);


		
	if(!empty($_GET['action']))
	{
		switch($_GET['action'])
		{
			case 1:
				$msg="<div class='dw_success'>Emails sent!</div>";
				break;
			case 2:
				$msg="<div class='dw_failed'>Voucher code already exist,update failed!</div>";
				break;
			case 3:
				$msg="<div class='dw_success'>Data Updated</div>";
				break;	
			default:
				$msg="";
				break;
		}
		
	}else{
		$msg="";
	}
	
	

	

	
	
	
		
?>
<table width="100%"  cellpadding="0" cellspacing="5" height="300">
<tr>

	<td valign="top">
			
            
			
            <script language="JavaScript" type="text/javascript" src="required/js/goAjax.js"></script>
            <script type="text/javascript" src="required/js/calendarDateInput.js"></script>
			<table width="100%">
			
				<tr>
					<td colspan="3" class="title">
					<strong>Compose Email</strong>					
					</td>
				</tr>
               <Tr>
               		<td colspan="3">
                   
                    <?= $msg ?>
                    </td>
               </Tr>
              	
            </table>
		</td>
	</tr>
	
	
</table>
<? require("required/footer.php"); ?>

